package com.mazihao.emos.db.dao;

import com.mazihao.emos.db.pojo.MessageEntity;
import com.mazihao.emos.db.pojo.TbMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * @author mazihao
 */
@Mapper
public interface TbMessageDao {
    public void insert(TbMessage message);

    public List<TbMessage> searchMessageByPage(int userId);

    public TbMessage searchMessageById(String id);
}
